﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Prototype
{
    class Program
    {
        static void Main(string[] args)
        {
            ConcteteColorPrototype red = new ConcteteColorPrototype("Red");
            red.SetConcteteColorPrototype(255, 0, 0);

            ConcteteColorPrototype green = (ConcteteColorPrototype)red.Clone();
            green.SetColorName("Green");
            green.SetConcteteColorPrototype(0, 255, 0);

            red.Display();
            green.Display();
        }
    }
}
